package com.cqhfan.chatroom.domain.vo;

import com.cqhfan.common.utils.DateUtils;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 眭传洪
 * @create 2024-11-18 17:56
 */
@Data
public class NewFriendVO {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private Long friendId;

    private String nickname;

    private String validInfo;

    private String avatar;

    private Boolean finished;

    @JsonFormat(pattern = DateUtils.DEFAULT_DATE_TIME_FORMAT)
    private LocalDateTime applyTime;

}
